{% extends 'users/base.html' %}
{% load allauth %}

{% block title %}Logout - {{ block.super }}{% endblock %}

{% block header %}Are you sure you want to sign out?{% endblock %}

{% block content %}
    {% url 'account_logout' as action_url %}
    {% element form method="post" action=action_url no_visible_fields=True %}
        {% slot body %}
            {% csrf_token %}
        {% endslot %}
        {% slot actions %}
            <div class="text-center">
                <a href="{% url 'home' %}" class="btn btn-default">Cancel</a>
                <input type="submit" class="btn btn-primary" value="Sign out">
            </div>
        {% endslot %}
    {% endelement %}
{% endblock content %}
